<template>
<div content-d>
<el-row>
  <el-col :span="24">测试主页 引入element成功<div class="grid-content bg-purple-dark"></div></el-col>
  <span>{{$store.state.IndexHtml}}</span>
  <span>{{msg}}</span>
</el-row>
</div>
</template>

<script>
import store from 'vuex'

export default {
  name: 'HelloWorld',
  data () {
    return {
      msg: this.$store.state.IndexHtml
    }
  },
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.content-d{
  background-color: blue;
}
</style>
